package com.it.tydic.estate.module.service;

import com.it.tydic.estate.common.aop.Result;
import com.it.tydic.estate.module.model.inner.TbFamily;

import java.util.List;
import java.util.Map;

/**
 * @description:
 * @author: liuhui
 * @createDate: 2020/3/5
 * @version: 1.0
 */
public interface TbFamilyService {
    /**
     * 家庭成员列表
     * @param map
     * @return
     */
    Result selectFamilyList(Map<String,Object> map);
    /**
     * 家庭成员详情
     * @param uid
     * @return
     */
    Result selectFamilyById(String uid);
    /**
     * 家庭成员添加修改
     * @param tbFamily
     * @return
     */
    Result addFamily(TbFamily tbFamily);

    /**
     * 批量删除
     * @param list
     * @return
     */
    Result delFamily(List<String> list);
}
